package com.kinglone.back.sysmenu.model;

import java.io.Serializable;

/**
 *
 * @author Administrator
 *
 */
public class SysMenu implements Serializable {

	private Integer id;
	private String code;//菜单编号
	private String pcode;//菜单父编号
	private String pcodes;//当前菜单的所有父菜单编号
	private String title;//菜单名称
	private String icon;//图标
	private String clazz;//层级
	private String href;//请求地址
	private String spread;
	private String target;
	private String ismenu;//是否是菜单（1：是  0：不是）
	private String isopen;//是否打开:    1:打开   0:不打开

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPcode() {
		return pcode;
	}

	public void setPcode(String pcode) {
		this.pcode = pcode;
	}

	public String getPcodes() {
		return pcodes;
	}

	public void setPcodes(String pcodes) {
		this.pcodes = pcodes;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getSpread() {
		return spread;
	}

	public void setSpread(String spread) {
		this.spread = spread;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getIsmenu() {
		return ismenu;
	}

	public void setIsmenu(String ismenu) {
		this.ismenu = ismenu;
	}

	public String getIsopen() {
		return isopen;
	}

	public void setIsopen(String isopen) {
		this.isopen = isopen;
	}

	@Override
	public String toString() {
		return "SysMenu{" +
				"id='" + id + '\'' +
				", code='" + code + '\'' +
				", pcode='" + pcode + '\'' +
				", pcodes='" + pcodes + '\'' +
				", title='" + title + '\'' +
				", icon='" + icon + '\'' +
				", clazz='" + clazz + '\'' +
				", href='" + href + '\'' +
				", spread='" + spread + '\'' +
				", target='" + target + '\'' +
				", ismenu='" + ismenu + '\'' +
				", isopen='" + isopen + '\'' +
				'}';
	}
}